<?php
class Comment extends AppModel {  
    var $name = 'Comment';  
    var $belongsTo = array(
        'Post' => array(
            'className' => 'Post',
            'foreignKey' => 'post_id',
            'conditions' => '',
            'fields' => '',
            'order' => ''
        ));
        var $hasAndBelongsToMany = array('Tag'=>array('className'=>'Tag'));  
         var $actsAs = array('Containable');
}  
?>